import request from '@/utils/request';
// 订单记录
export function orderList (params) {
  return request({
    url: 'v1/fareorder/list',
    method: 'get',
    params
  });
}
// 聊天记录
export function chatList (params) {
  return request({
    url: 'v1/fareorder/chatList',
    method: 'get',
    params
  });
}
// 竞标详情
export function biddingList (params) {
  return request({
    url: 'v1/fareorder/biddingList',
    method: 'get',
    params
  });
}
// 退款管理列表
export function cancelList (params) {
  return request({
    url: 'v1/fareorder/cancelList',
    method: 'get',
    params
  });
}
// 打赏记录
export function rewardList (params) {
  return request({
    url: 'v1/fareorder/rewardList',
    method: 'get',
    params
  });
}
// 评价列表
export function commentList (params) {
  return request({
    url: 'v1/fareorder/commentList',
    method: 'get',
    params
  });
}
// 评价删除
export function commentDelete (data) {
  return request({
    url: 'v1/fareorder/commentDelete',
    method: 'post',
    data: data
  });
}

// 退款审核
export function editRefund (data) {
  return request({
    url: 'v1/fareorder/edit',
    method: 'post',
    data: data
  });
}

